home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: mike@pdx095.intel.com (Mike Haertel)
-
- In article <207f29INNge@rodan.UU.NET> lwv26@cas.org (Larry W. Virden) writes:
- >I assume that unreadable means AT LEAST files whose permissions are not
- >such that would allow me to read. But what about things like EISDIR?
- >This is an error which returns indicating that one is not permitted to
- >read the file - correct? May I have grep -s suppress this message as
- >well?
-
- Note that the messages usually suppressed by grep -s are the result
- of open() attempts, but the EISDIR that Larry is talking about is
- what you get when you try to read() and NFS-mounted directory--the
- open() succeeds.
-
- So the question is exactly what messages should grep -s suppress?
- Clearly, it should suppress EACCES and ENOENT returned by open().
- Should it suppress EISDIR returned by read()? After all, an NFS-
- mounted directory is certainly "unreadable"...
-
- --
- Mike Haertel <mike@ichips.intel.com>
-
- This is a private posting; it does not indicate opinions or positions
- of Intel Corp.
-
- Volume-Number: Volume 31, Number 80
-
-